package com.roads.engineering.domain.summary;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.roads.common.annotation.Excel;
import com.roads.common.core.domain.BaseEntity;

/**
 * 汇总-中期支付证书对象 eng_summary_ipc
 *
 * @author nhp
 * @date 2022-06-15
 */
public class SummaryIpc extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 标段编码
     */
    private String institutionCode;

    /**
     * 标段名称
     */
    private String institutionName;

    /**
     * 期次
     */
    private String periodName;

    /**
     * 支付项目名称
     */
    private String itemName;

    /**
     * 支付项目编号
     */
    private String itemCode;

    /**
     * 项目排序
     */
    private Long itemOrder;

    /**
     * 符号 1标识正数 -1标识负数
     */
    private BigDecimal sign;

    /**
     * 计算方式 1.百章清单 2.求和 3.百分比 4.固定值 5.其他
     */
    private Integer computeMode;

    /**
     * 百章项目，对应计算方式1
     */
    private String hundredItem;

    /**
     * 求和项目，对应计算方式2
     */
    private String sumItem;

    /**
     * 百分比项目，对应计算方式3
     */
    private String percentageItem;

    /**
     * 百分比系数，对应计算方式3
     */
    private BigDecimal ratio;

    /**
     * 金额
     */
    private BigDecimal total;

    /**
     * 复核金额
     */
    private BigDecimal reviewTotal;

    /**
     * 变更金额
     */
    private BigDecimal changeTotal;

    /**
     * 变更后金额
     */
    private BigDecimal changeEndTotal;

    /**
     * 上期末计量金额
     */
    private BigDecimal lastPeriodTotal;

    /**
     * 本期计量金额
     */
    private BigDecimal currentPeriodTotal;

    /**
     * 本期末计量金额
     */
    private BigDecimal currentEndPeriodTotal;

    /**
     * 本期完成比例
     */
    private Integer currentFinishRatio;

    /**
     * 完成比例
     */
    private Integer finishRatio;

    /**
     * 是否批复 N：否 Y：是
     */
    private String isApprove;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setInstitutionCode(String institutionCode) {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() {
        return institutionCode;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setPeriodName(String periodName) {
        this.periodName = periodName;
    }

    public String getPeriodName() {
        return periodName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemOrder(Long itemOrder) {
        this.itemOrder = itemOrder;
    }

    public Long getItemOrder() {
        return itemOrder;
    }

    public void setSign(BigDecimal sign) {
        this.sign = sign;
    }

    public BigDecimal getSign() {
        return sign;
    }

    public void setComputeMode(Integer computeMode) {
        this.computeMode = computeMode;
    }

    public Integer getComputeMode() {
        return computeMode;
    }

    public void setHundredItem(String hundredItem) {
        this.hundredItem = hundredItem;
    }

    public String getHundredItem() {
        return hundredItem;
    }

    public void setSumItem(String sumItem) {
        this.sumItem = sumItem;
    }

    public String getSumItem() {
        return sumItem;
    }

    public void setPercentageItem(String percentageItem) {
        this.percentageItem = percentageItem;
    }

    public String getPercentageItem() {
        return percentageItem;
    }

    public void setRatio(BigDecimal ratio) {
        this.ratio = ratio;
    }

    public BigDecimal getRatio() {
        return ratio;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setReviewTotal(BigDecimal reviewTotal) {
        this.reviewTotal = reviewTotal;
    }

    public BigDecimal getReviewTotal() {
        return reviewTotal;
    }

    public void setChangeTotal(BigDecimal changeTotal) {
        this.changeTotal = changeTotal;
    }

    public BigDecimal getChangeTotal() {
        return changeTotal;
    }

    public void setChangeEndTotal(BigDecimal changeEndTotal) {
        this.changeEndTotal = changeEndTotal;
    }

    public BigDecimal getChangeEndTotal() {
        return changeEndTotal;
    }

    public void setLastPeriodTotal(BigDecimal lastPeriodTotal) {
        this.lastPeriodTotal = lastPeriodTotal;
    }

    public BigDecimal getLastPeriodTotal() {
        return lastPeriodTotal;
    }

    public void setCurrentPeriodTotal(BigDecimal currentPeriodTotal) {
        this.currentPeriodTotal = currentPeriodTotal;
    }

    public BigDecimal getCurrentPeriodTotal() {
        return currentPeriodTotal;
    }

    public void setCurrentEndPeriodTotal(BigDecimal currentEndPeriodTotal) {
        this.currentEndPeriodTotal = currentEndPeriodTotal;
    }

    public BigDecimal getCurrentEndPeriodTotal() {
        return currentEndPeriodTotal;
    }

    public Integer getCurrentFinishRatio() {
        return currentFinishRatio;
    }

    public void setCurrentFinishRatio(Integer currentFinishRatio) {
        this.currentFinishRatio = currentFinishRatio;
    }

    public void setFinishRatio(Integer finishRatio) {
        this.finishRatio = finishRatio;
    }

    public Integer getFinishRatio() {
        return finishRatio;
    }

    public String getIsApprove() {
        return isApprove;
    }

    public void setIsApprove(String isApprove) {
        this.isApprove = isApprove;
    }
}
